package teshop.data.dao;

import java.util.List;

import teshop.data.domain.Product;


/**
 * Data Access object for items
 * 
 * @author Hryhory Lira
 *
 */
public interface CatalogDAO extends GeneralDAO<Product, Long> {

	/**
	 * Get limited list of items (not all)
	 * @param firstItem first item to return
	 * @param batchSize size of fetching
	 * @return list of items
	 */
	public List<Product> getItemsList(int firstItem, int batchSize);
	
}
